﻿@model ECatalog.Models.UserModel.UserLoginDto
@{
    ViewBag.Title = "Страница входа в систему";
}
<div class="container">
    <div class="row">
        @using (Html.BeginForm(new { ViewBag.ReturnUrl }))
        {
            <div class="form-horizontal">
                @Html.AntiForgeryToken()
                <div class="form-group">
                    <label for="Login" class="col-lg-2 control-label">Логин</label>
                    <div class="col-lg-4">
                        @Html.TextBoxFor(m => m.Login, new { @placeholder = "Ваш уникальный логин...", @class = "form-control" })
                        @Html.ValidationMessageFor(m => m.Login)
                    </div>
                </div>
                <div class="form-group">
                    <label for="Password" class="col-lg-2 control-label">Пароль</label>
                    <div class="col-lg-4">
                        @Html.PasswordFor(m => m.Password, new { @placeholder = "Ваш пароль...", @class = "form-control" })
                        @Html.ValidationMessageFor(m => m.Password)
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-lg-offset-2 col-lg-10">
                        <button type="submit" class="btn btn-success">Войти</button>
                    </div>
                </div>
            </div>
        }
    </div>
</div>
